
package it.danghongphat.database;

public class DatabaseConfig {
	
	String username ="system";
	String password ="123456";
	String servername ="localhost";
	int port = 1521;
	String serverdatabse="orcl";
	public DatabaseConfig() {
		
	}
	String getUserName(){
		return username;
	}
	void setUserName(String username){
		this.username=username;
	}
	void setServerdatabse(String serverdatabse){
		this.serverdatabse=serverdatabse;
	}
	void setPassword(String password){
		this.password=password;
	}
	String getPassword(){
		return password;
	}
	String getUrl(){
		return "jdbc:oracle:thin:@//"+servername+":"+port+"/"+serverdatabse+"";
	}

}

